package cn.sxjzit.officlal.entity;

public class User {
    private String username;
    private String password;
    private String photo;
    private String idcard;
    private String name;
    private int role_desc;


    public User() {
    }

    public User(String username, String password, String photo, String idcard, String name, int role_desc) {
        this.username = username;
        this.password = password;
        this.photo = photo;
        this.idcard = idcard;
        this.name = name;
        this.role_desc = role_desc;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return photo
     */
    public String getPhoto() {
        return photo;
    }

    /**
     * 设置
     * @param photo
     */
    public void setPhoto(String photo) {
        this.photo = photo;
    }

    /**
     * 获取
     * @return idcard
     */
    public String getIdcard() {
        return idcard;
    }

    /**
     * 设置
     * @param idcard
     */
    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return role_desc
     */
    public int getRole_desc() {
        return role_desc;
    }

    /**
     * 设置
     * @param role_desc
     */
    public void setRole_desc(int role_desc) {
        this.role_desc = role_desc;
    }

    public String toString() {
        return "User{username = " + username + ", password = " + password + ", photo = " + photo + ", idcard = " + idcard + ", name = " + name + ", role_desc = " + role_desc + "}";
    }
}
